<!DOCTYPE html>
<ul>
  <li>
    <div style="display: inline-block;">line1<br>line2</div>
  </li>
</ul>
